﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCYUETIAOZBTN.ascx.cs" Inherits="Web.Controls.LAIHAN.UCYUETIAOZBTN" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<script type="text/javascript">
    function GetQueryString(name) {

        var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i"));

        if (result == null || result.length < 1) {

            return "";

        }

        return result[1];

    }
    function OpenWJLB() {
        var yhh = "";
        var laihan = "";
        if (GetQueryString("id") != null) {
            yhh = $("#h_yonghuh").val();
            laihan = $("#h_laihanbh").val();
        }
        alert(laihan);
        OpenWenjian(laihan, yhh);

    }
    function OpenWenjian(laihanbh, yonghuh) {

        openCenter("LAIHANWJLB.aspx?laihanbh=" + laihanbh + "&yonghuh=" + yonghuh, "700px", "380px");
    }
    function UCYUETIAOZBTN_ASPxCallbackCommonCall(rs) {

        //alert(rs);
    }
</script>
<dx:ASPxHiddenField ID="UCYUETIAOZBTN_hdCollection" ClientInstanceName="UCYUETIAOZBTN_hdCollection" runat="server"></dx:ASPxHiddenField>
<div style="display:none">
    <dx:ASPxButton ID="ASPxButton1" runat="server" Text="ASPxButton"></dx:ASPxButton>
</div>

<dx:ASPxCallback ID="UCYUETIAOZBTN_ASPxCallbackCommon1" ClientInstanceName="UCYUETIAOZBTN_ASPxCallbackCommon" runat="server" OnCallback="UCYUETIAOZBTN_ASPxCallbackCommon_Callback" ClientSideEvents-CallbackComplete="function(s,e){UCYUETIAOZBTN_ASPxCallbackCommonCall(e.result);}"></dx:ASPxCallback>

<fieldset style="border: 1px solid  cornflowerblue;">
    <table style="margin: 0px auto; margin-right: 1px">
        <tr>
            <td align="right">
                <dx:ASPxButton ID="BtnXG" runat="server" Text="修改"></dx:ASPxButton>
                <dx:ASPxButton ID="BtnQR" OnClick="BtnQR_Click" runat="server" Text="确认">
                    <ClientSideEvents Click="function(s,e){e.processOnServer=check();}" />
                </dx:ASPxButton>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxButton ID="BtnTJ" runat="server" Text="提交"></dx:ASPxButton>
                <dx:ASPxButton ID="BtnXXXX" runat="server" Text="详细信息"></dx:ASPxButton>
                <dx:ASPxButton ID="BtnYSSF" runat="server" Text="用水/收费清空"></dx:ASPxButton>
                <dx:ASPxButton ID="BtnWJLB" runat="server" AutoPostBack="false" Text="文件列表">
                    <ClientSideEvents Click="function(s,e){OpenWJLB();}" />
                </dx:ASPxButton>
            </td>
        </tr>
    </table>


</fieldset>
